package com.zhou.yygh.hosp.repository;



import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
import zhou.hospital.model.hosp.Hospital;

import java.util.List;


public interface HospitalRepository extends MongoRepository<Hospital,String> {
    Hospital findHospitalByHoscode(String hoscode);
   //根据医院名称模糊查询
    List<Hospital> findHospitalByHosnameLike(String hosname);

}
